package com.entity.neo4j;

import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.data.neo4j.core.schema.*;

import java.util.List;

@Data
@Accessors(chain = true)
@RelationshipProperties
public class CourseNeoRelation {
    @Property("id")
    private Long id;

    @TargetNode
    private CourseNode courseNode;

    @Property("relation")
    private String relation;
}
